package com.ych.SDK.alibaba.alipaySDK.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/21
 * Time: 14:23
 * Description:
 */
@Data
@ApiModel(value = "AlipayRefundEntity", description = "支付宝-退款接口参数")
public class AlipayRefundEntity implements Serializable {
    @ApiModelProperty(value = "订单支付时传入的商户订单号", dataType = "String", notes = "订单支付时传入的商户订单号（两个参数必传其一）")
    private String     out_trade_no;
    @ApiModelProperty(value = "支付宝订单号", dataType = "String", notes = "支付宝订单号（两个参数必传其一）")
    private String     trade_no;
    @ApiModelProperty(value = "需要退款的金额，该金额不能大于订单金额,单位为元，支持两位小数 ", dataType = "String", notes = "需要退款的金额，该金额不能大于订单金额,单位为元，支持两位小数 ")
    private BigDecimal refund_amount;
    @ApiModelProperty(value = "退款的原因说明", dataType = "String", notes = "退款的原因说明")
    private String     refund_reason;
}
